package com.hitales.liteflow.liteflowdemo.forloopdemo;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeComponent;

@LiteflowComponent("printUser")
public class PrintUserComponent extends NodeComponent {
    @Override
    public void process() throws Exception {
        // 拿到迭代到的对象
        Object user = this.getCurrLoopObj();
        System.out.println("当前用户：" + user);
    }
}
